<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>求除了个位数为三的和</title>
		<script type="text/javascript">
			var sum = 0;
			for(var i = 1; i <= 100; i++) {
				if(i <= 10) {
					if(i == 3) {
						continue;
					}else {
						sum += i
					}
				}else {
					if(i % 10 == 3) {
						continue
					}else {
						sum += i;
					}
				}
				
			}
			console.log('1到100之内的除了个位数是3的和为' + sum)
		</script>
	</head>
	<body>
	</body>
</html>
